﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAO;

namespace BUS
{
    public class ChiTietThucDonBUS
    {
        public static bool Insert(ChiTietThucDonDTO cttd)
        {
            return ChiTietThucDonDAO.Insert(cttd);
        }

        public static bool Delete(int cttd)
        {
            return ChiTietThucDonDAO.Delete(cttd);
        }

        public static bool DeleteByMaThucDon(int td)
        {
            return ChiTietThucDonDAO.DeleteByMaThucDon(td);
        }

        public static System.Data.DataTable SelectAllByMaThucDon(int MaThucDon)
        {
            return ChiTietThucDonDAO.SelectAllByMaThucDon(MaThucDon);
        }
    }
}
